<div id="main_wrap">
	<div class="center_wrap clearfix">
        <h2 class="no_bottom no_top breadcrumb">
        	<a>{$lang825}</a>
        </h2>
		{include file="accountmenu.tpl"} 
		<div class="right col1">
            <div class="cat_box_full clearfix"> 
                <div class="cat_body_full clearfix">
                {if $error ne ""}
                {include file="show_error.tpl"}
                {elseif $message ne ""}
                {include file="show_message.tpl"}
                {else}
                  
                <form id="editaudioform" name="editaudio" method="post" enctype="multipart/form-data" action="{$baseurl}/myaudiosedit.php?AUDIOID={$smarty.request.AUDIOID}">
                <div class="accountMenu">
                    <h2>{$lang848}: </h2>
                </div>
                <div class="uploadMenu2">
                    {$lang324}:&nbsp;
                    <input type="text" name="title" id="title" value="{$audioarray[0].title}" class="textField" size="40"/><br />
                    <div style="height:5px;"></div>
                    
                    {$lang113}:<br />
                    <textarea name="description" id="description" rows=3 cols=45>{$audioarray[0].description}</textarea><br />
                    <div style="height:5px;"></div>
                    
                    {$lang325}:<br />
                    <input type="text" name="tags" id="tags" value="{$audioarray[0].tags}" class="textField" size="40"/><br />
                    <div style="height:5px;"></div>
                    
                    {$lang849}:&nbsp;
                    <select id="category" name="category">
                    <option value="0">{$lang115}</option>
                    {insert name=get_audio_categories assign=listaudiocategories}
                    {section name=o loop=$listaudiocategories}
                    <option value="{$listaudiocategories[o].CATID}" {if $audioarray[0].categories eq $listaudiocategories[o].CATID}selected="selected"{/if}>{$listaudiocategories[o].name}</option>
                    {/section}
                    </select>
                    <div style="height:5px;"></div>
                    
                    {$lang329}:&nbsp;
                    <input type="radio" value="1" name="public" id="public" {if $audioarray[0].public eq "1"}checked{/if}> {$lang327}&nbsp;&nbsp;&nbsp;
                    <input type="radio" value="0" name="public" id="public" {if $audioarray[0].public eq "0"}checked{/if}> {$lang328}
                    <div style="height:5px;"></div>
                    
                    {$lang330}:&nbsp;
                    <input type="radio" value="1" name="allowcomments" id="allowcomments" {if $audioarray[0].allowcomments eq "1"}checked{/if}> {$lang335}&nbsp;&nbsp;&nbsp;
                    <input type="radio" value="0" name="allowcomments" id="allowcomments" {if $audioarray[0].allowcomments eq "0"}checked{/if}> {$lang336}
                    <div style="height:5px;"></div>
                    
                    {$lang331}:&nbsp;
                    <input type="radio" value="1" name="allowratings" id="allowratings" {if $audioarray[0].allowratings eq "1"}checked{/if}> {$lang335}&nbsp;&nbsp;&nbsp;
                    <input type="radio" value="0" name="allowratings" id="allowratings" {if $audioarray[0].allowratings eq "0"}checked{/if}> {$lang336}
                    <div style="height:5px;"></div>
                    
                    {$lang332}:&nbsp;
                    <input type="radio" value="1" name="allowembeds" id="allowembeds" {if $audioarray[0].allowembeds eq "1"}checked{/if}> {$lang335}&nbsp;&nbsp;&nbsp;
                    <input type="radio" value="0" name="allowembeds" id="allowembeds" {if $audioarray[0].allowembeds eq "0"}checked{/if}> {$lang336}
                    <div style="height:5px;"></div>
                    
                    {$lang333}:&nbsp;
                    <input type="radio" value="1" name="allowdownloads" id="allowdownloads" {if $audioarray[0].allowdownloads eq "1"}checked{/if}> {$lang335}&nbsp;&nbsp;&nbsp;
                    <input type="radio" value="0" name="allowdownloads" id="allowdownloads" {if $audioarray[0].allowdownloads eq "0"}checked{/if}> {$lang336}
                    <div style="height:5px;"></div>
                </div>
                
                <div style="padding-top:10px;">
                    <input type="hidden" name="AUDIOID" value="{$smarty.request.AUDIOID}" />
                    <input type="submit" name="editaudio" value="{$lang10}" />
                </div>
                </form>
    			{/if}
                </div>
  			</div>
		</div>
    	<div class="clear"></div>
	</div>
</div>